<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
      p + p {
        color: green;
      }
      div p {
        color: red;
      }
      div > p {
        color: yellow;
      }
      p {
        color: #000;
      }
    </style>
</head>
<body>
   <div>
    <p class="p" data-cus="hhhh">我是Li</p>
    <p class="p2">99999</p>
   </div>
</body>
</html>